package com.yunupmall.mapper.FordMapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yunupmall.api.fordentity.Evaluate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface EvaluateMapper extends BaseMapper<Evaluate> {
    @Select("select count(*) from evaluate where commtity_id=#{cId}")
    Integer getCounts(@Param("cId") Integer cId);
}
